﻿using PetaPoco;
using System;
using System.Collections.Generic;

namespace Xms.CRM.Domain
{
    [TableName("StudentCourseRef")]
    [PrimaryKey("StudentCourseRefId", AutoIncrement = false)]
    public partial class StudentCourseRef
    {
        public Guid StudentCourseRefId { get; set; }
        public string Name { get; set; }
        public byte[] VersionNumber { get; set; }
        public DateTime CreatedOn { get; set; }
        public Guid CreatedBy { get; set; }
        public DateTime? ModifiedOn { get; set; }
        public Guid? ModifiedBy { get; set; }
        public int StateCode { get; set; }
        public int StatusCode { get; set; }
        public Guid OwnerId { get; set; }
        public int OwnerIdType { get; set; }
        public Guid? OwningBusinessUnit { get; set; }
        public Guid OrganizationId { get; set; }
        public Guid? StudentId { get; set; }
        public Guid? CourseId { get; set; }
        public int? TotalClassHour { get; set; }
        public int? WeekInfos { get; set; }
        public int? RemainClassHour { get; set; }
        public decimal? RegistrationFee { get; set; }
        public Guid? IntentionStudentId { get; set; }
    }
}
